<?php

  error_reporting(0);

  define('MYSQL_HOSTNAME',  'localhost');  /* hostname */
  define('MYSQL_USERNAME',  'root');       /* username */
  define('MYSQL_PASSWORD',  '1qaz2wsx');   /* password */
  define('MYSQL_DATABASE',  'monitordati'); /* database */
  /* Login successful the redirect to */
  define('SUCCESS_LOGIN_GOTO'   ,'welcome.php');
  
/* if the USERS_TABLE_NAME doesn't exist in the DB then this module  will automatically create this TABLE  */
  define('USERS_TABLE_NAME','login');

  $DATA_SCHEDULE='';
  $DATA_SCHEDULE_SIMUL='';
  define('NUM_SEZIONI',15);
  
  /* Advance Configuration - no need to edit this section */
  define('AJAX_TIMEOUT',        '10000000');
  define('AJAX_TARGET_ELEMENT', 'ajax_target');
  define('AJAX_WAIT_TEXT',      'Please wait...');
  define('AJAX_FORM_ELEMENT',   'ajax_form');
  define('AJAX_WAIT_ELEMENT',   'ajax_wait');
  define('AJAX_NOTIFY_ELEMENT', 'ajax_notify');

  define('PATH_DIR','/usr/local/bin/AcquisizioneDati');
  define('FILE_LOG','/tmp/log_file.txt');
  define('CONFIG_FILE',PATH_DIR.'/files/configure.php');
  define('DB_FILE',PATH_DIR.'/files/class.db.php');
  define('ALARM_FILE',PATH_DIR.'/GestioneAlarm/Alarm.php');
  define('LOG_FILE_CLASS',PATH_DIR.'/files/class.db.php');

  define('FTP_PATH_FILE', 'Monitoraggio_Fiumi_Uniti');
 
  
  define('BATCH_DIR',PATH_DIR.'/BatchFile/');
  define('STB_DIR',PATH_DIR.'/ReadFileSTB/');
  define('RASPONI_DIR',PATH_DIR.'/ReadRasponi/');
  define('SIMULAZIONI_DIR',PATH_DIR.'/Simulazioni/');
  define('PATH_ARCHIVIO_DB',PATH_DIR.'/ArchivioDB/');
  
  define('PATH_TEMPO_REALE','/usr/local/bin/Sistema_tempo_reale/');
  
  define('CMD_VPN_UP','/usr/local/bin/snx_script/snx_wrapel.pl /usr/local/bin/snx_script/snxrc_work');
  define('CMD_VPN_DOWN','/usr/local/bin/snx_script/snx_wrapel.pl -d');
  define('SNXRC_WORK','/usr/local/bin/snx_script/snxrc_work');
  define('PATH_ARCHIVIO',"/var/www/Spy_embankment/archivio/");
  
  $TEXT_STATUS_MSG='';
?>
